package com.operation.service;

import com.operation.beans.Result;
import com.operation.beans.WorkOrderAllInfo;
import com.operation.entity.WorkOrder;

import java.util.List;


/**
 * Created by LCJ on 2017/10/24.
 */
public interface ManagerService{

    /**
     * 管理员通过工单的状态查找工单（查看工单进度）
     * @param workOrder
     * @return
     */
    public Result queryScheduleOfWorkOrders(WorkOrder workOrder);

    /**
     * 管理员分配工单给运维
     * @param workOrder
     * @return
     */
    public Result distributeWorkOrder(WorkOrder workOrder);

    /**
     * 管理归档
     * @param workOrder
     * @return
     */
    public Result endWorkOrder(WorkOrder workOrder);

    /**
     * 查看投诉工单
     * @return
     */
    public List<WorkOrderAllInfo> checkComplaintList();
}
